import {InputNumberEmits, InputNumberProps} from "element-plus"
import {CreateFormElsComponents} from "../render/common.ts"
import {ElInputNumberCustomerProps, ElInputNumberCustomerEvents, ElInputNumberCustomerExtend} from "./index.ts"

type ElInputNumberProps = InputNumberProps & ElInputNumberCustomerProps

type ElInputNumberEvents = InputNumberEmits & ElInputNumberCustomerEvents

type ElInputNumberExtend = ElInputNumberCustomerExtend

export type ElInputNumber<Prop> =
    CreateFormElsComponents<'el-input-number', Prop, ElInputNumberProps, ElInputNumberEvents>
    & ElInputNumberExtend
